<?php
/**
 * @file view.php
 * @author LD <2009-11-05 13:23:42>
 * @package notice
 * @desc 
 *   房间活动详细
 */
$this->_extends('_layouts/party_layout');

$this->_block('page_title');
echo '房间活动 - '.$party['actName'];
$this->_endblock();

$this->_block('page_keywords');
echo "K秀,kkyoo,音乐交友,在线KTV,在线卡拉OK,网上卡拉OK,在线K歌,在线唱歌,免费MTV,音乐社区,音乐博客,K秀首页";
$this->_endblock();

$this->_block('page_desc');
echo "K秀是免费的网络P2P音乐社区,让您足不出户享受高品质在线卡拉OK的乐趣，在这里您可以通过音乐结交到好友,也可以录制自己的歌曲,更可以在数百人的K厅内与网友们一起K歌!";
$this->_endblock();
?>

<?php $this->_block('catName'); ?>
<td align="center" background="<?php echo $_BASE_DIR; ?>images/topb.gif">
	<table width="96%" border="0" cellspacing="0" cellpadding="0">
       <tr>
<td align="left"><span class="blue14">房间活动</span></td>
       </tr>
  </table>
</td>
<?php $this->_endblock(); ?>

<?php $this->_block('contents'); ?>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="12%" height="25" align="left" class="STYLE13">活动名称：</td>
    <td width="88%" align="left"><?php echo $party['actName']; ?></td>
  </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="34%" height="25" align="left"><span class="STYLE13">活动时间：</span> <?php echo $party['actActioned']; ?></td>
    <td width="66%" align="left"><span class="STYLE13">活动状态：</span>
		<?php if ($party['status'] == '1'){
    		echo "<span style='color:blue;'>火热进行中</span>";	
    	  }else echo "<span style='color:green;'>圆满完成</span>"; ?></td>
  </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="12%" height="25" align="left" class="STYLE13">主办人ID：</td>
    <td width="22%" align="left"><?php echo $party['actOrgUin']; ?></td>
    <td width="7%" align="left" class="STYLE13">昵称：</td>
    <td width="59%" align="left"><?php echo $party['actOrgNick']; ?></td>
  </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="13%" height="25" align="left" class="STYLE13">主办房间ID：</td>
    <td width="21%" align="left"><?php echo $party['actOrgRoomId']; ?></td>
    <td width="11%" align="left" class="STYLE13">房间名称：</td>
    <td width="55%" align="left"><?php echo $party['actOrgRoomName']; ?></td>
  </tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="9%" height="25" align="left" class="STYLE13">协&nbsp;办：</td>
    <td width="91%" align="left"><?php echo $party['actSponsor']; ?></td>
  </tr>
</table>

<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr><td height="25" align="left" class="STYLE13">内容及目的：</td></tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr><td width="87%" height="62" align="left" valign="top"><?php echo $party['actContent']; ?></td></tr>
</table>

<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr><td height="25" align="left" class="STYLE13">活动内容及流程安排：</td></tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="87%" height="72" align="left" valign="top"><?php echo $party['actPlan']; ?></td>
  </tr>
</table>


<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr><td height="25" align="left" class="STYLE13">活动工作人员名单：</td></tr>
</table>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="59" align="left" valign="top">
    <table width="400" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="175" height="25" align="center" bgcolor="#c6e6fe" class="STYLE2">工作职务</td>
          <td width="110" align="center" bgcolor="#c6e6fe" class="STYLE2">用户ID</td>
          <td width="150" align="center" bgcolor="#c6e6fe" class="STYLE2">用户昵称</td>
        </tr>
     

<?php for ($i=0; $i<$party['workers']; $i++) { ?>      
  <tr height="25" align="center">
    <td   ><?php echo $party["actWorkerDuty_{$i}"]; ?></td>
    <td  ><?php echo $party["actWorkerUin_{$i}"]; ?></td>
    <td  ><?php echo $party["actWorkerNick_{$i}"]; ?></td>
  </tr>
<?php } ?> </table>
    </td>
  </tr>
</table>
<?php $this->_endblock(); ?>
